﻿@model TCM.InstructorSubject

<script src="~/Scripts/jquery-1.8.2.min.js"></script>
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>

@using (Html.BeginCollectionItem("InstructorInstructorSubjects"))
{
  // @Html.AntiForgeryToken()
  // @Html.ValidationSummary(true)

@*<fieldset>
    <legend>INSTRUCTORLEVEBASE</legend>
    <table>
        <thead>
            <tr>

                <th>
                    <label>Subject Name</label>
                </th>
                <th>
                    <label>Level Name</label>
                </th>
                <th></th>
            </tr>
        </thead>*@

        @*<tr>*@
            <td>
                @Html.EditorFor(Model=>Model.Subject.Name) @Html.EditorFor(Model=>Model.Subject.Name)-------
            </td>
            <td>
                @Html.EditorFor(Model=>Model.Subject.Name)@Html.DisplayFor(model => model.InstructorID)------
            </td>
     <td>
         
            
         @*13-7-2013 enas why @if (Model  != null) display error at runtime*@
        @*@if (Model  != null)
        {
            if (Model.INSTRUCTORLEVEID != Guid.Empty)
            {
            @Html.CheckBoxFor(model => model.DeletedByUI)    
            }
        }*@

        <div class="HiddenFor">
            
          @*  @Html.HiddenFor(model => model.INSTRUCTORLEVEID)    *@        
        </div>

    </td>
    @*</tr>*@

    @*</table>
</fieldset>*@
}
<script type="text/javascript">
    function removeschedule_click(sender, eINSTRUCTORLEVEID) {
        //$.post("../RemoveSchedule/" + eCOURSESCHEDULEID, null, function (data) {
        //    sender.parent().parent().remove();
        //});
    }
</script>